package com.jayson.server.apis;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author jaysonlee
 */
@FeignClient(name = "server-service", contextId = "TestServicesApis")
public interface TestServicesApis {

    /**
     * 第一个api
     * @param name
     * @return
     */
    @RequestMapping("/test/get")
    public String get(String name);
}